<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>jquery对象</title>
		<script src="../js/jquery-3.6.3.min.js"></script>
		<script>
			$(function(){
				var d=document.getElementsByTagName("div")[1];
				$("a",d).css({"font-size":"60px"});
			});
		</script>
	</head>
	<body>
		<div>
			<a href="#">淘宝</a>
			<a href="#">jd</a>
			<a href="#">oschina</a>
			<a href="#">bdqn</a>
			<a href="#">gitee.com</a>
		</div>
		<div>
			<a href="#">淘宝</a>
			<a href="#">jd</a>
			<a href="#">oschina</a>
			<a href="#">bdqn</a>
			<a href="#">gitee.com</a>
		</div>
	</body>
</html>